package org.farm2.skc.domain;

import lombok.Data;
import org.farm2.skc.enums.KnowFileTypeEnum;

/**知识附件 
 * @author cbtg自动生成  2025-2-4 12:19:26 
 */
@Data
public class SkcKnowFile {
    private String id;
    private String fileid;
    private String knowid;
    private String versionid;
    private String exname;
    private String mark;

    private String type;

    public SkcKnowFile(String fileid, KnowFileTypeEnum type) {
        this.fileid = fileid.trim();
        this.type = type.getKey();
    }

    public SkcKnowFile() {
    }
}